/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ManageBean;

import java.util.ArrayList;
import java.util.List;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.RequestScoped;

/**
 *
 * @author Mr-Quick
 */
@ManagedBean
@RequestScoped
public class Masterpage {

    private List<String> list;
    public Masterpage() {
        ImageSwitchBean();
    }
        public void ImageSwitchBean() {  
        list = new ArrayList<String>();  
        list.add("pic1.jpg");  
        list.add("pic2.jpg");  
        list.add("pic3.jpg");  
        list.add("pic4.jpg");  
        list.add("pic5.png"); 
        list.add("pic6.jpg");
    } 
    public List<String> getImages() {  
        return list;  
    }
}
